package com.mlnx.data.service;


import com.mlnx.common.form.PageForm;
import com.mlnx.data.entity.BpInfo;
import com.mlnx.data.pojo.form.BpInfoForm;
import com.mlnx.data.pojo.vo.BpInfoVo;

import javax.validation.Valid;
import java.util.List;


public interface BpDataService {

    void save(BpInfo bpInfo);

    List<BpInfo> getBps(Integer patientId, Long startTime, Long endTime);

    void updateBps(List<BpInfo> bpInfos);

    void deleteBps(List<BpInfo> bpInfos);

    BpInfoVo getAllBps(PageForm pageForm,@Valid BpInfoForm bpInfoForm);

    void updateBp(BpInfo bpInfo);

}
